package com.edu.service;

import com.edu.pojo.users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface userservice {
    //增加用户
    int adduser(users users);

    //删除用户
    int deleteusersById( String id);

    //修改用户
    int updateuser(users users);

    //查找一个用户
    users queryuserById(String userid);

    //查找全部用户
    List<users> queryAlluser();

     users login(String accounts,String password);

     users getPassword(String accounts);

     int modifyPassword(String accounts ,String password);
}
